﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TImSdk
{
    /// <summary>
    /// 好友添加的响应
    /// </summary>
    public class FriendRespone
    {
        /// <summary>
        /// 响应好友添加的Identifier
        /// </summary>
        [JsonProperty("friend_respone_identifier")]
        public string Friend_Respone_Identifier { get; set; }
        /// <summary>
        /// 响应好友添加的动作
        /// </summary>
        [JsonProperty("friend_respone_action")]
        public TIMFriendResponseAction Friend_Respone_Action { get; set; }
        /// <summary>
        /// 好友备注
        /// </summary>
        [JsonProperty("friend_respone_remark")]
        public string Friend_Respone_Remark { get; set; }
        /// <summary>
        /// 好友分组列表
        /// </summary>
        [JsonProperty("friend_respone_group_name")]
        public string Friend_Respone_Group_Name { get; set; }

        public FriendRespone(string identifier, TIMFriendResponseAction responeAction,string remark)
        {
            Friend_Respone_Identifier = identifier;
            Friend_Respone_Action = responeAction;
            Friend_Respone_Remark = remark;
        }
    }
}
